package cn.t12.qg.payconsumer.service;

import cn.t12.qg.service.user.OrderService;
import com.qg.pojo.QgOrder;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

@Service
public class LocalPayServiceImpl implements LocalPayService {
    @DubboReference(version = "1.0.0")
    private OrderService orderService;
    @Override
    public QgOrder getByOrderNo(String orderNo) {
        return  orderService.getByOrderNo(orderNo);
    }
}
